package com.ys.servers.gateway.verticle;

import io.vertx.core.AbstractVerticle;
import io.vertx.core.DeploymentOptions;

/**
 * Created by taotao on 2017/5/2.
 *
 * Supposed not to be used any more.
 *
 */
@Deprecated
public class DeployVerticle extends AbstractVerticle {

    @Override
    public void start() throws Exception {
        super.start();
        DeploymentOptions options = new DeploymentOptions().setConfig(config());
        vertx.deployVerticle(new RestfulGateWayVerticle(), options);
        //TODO
        //Add other verticles
    }
}
